var $=function(id){return document.getElementById(id);}

function load_init(){
	$('page_softdownload').addEventListener('click',function(){
		$('apk_msg').style.display = "";
		$url = "http://www.1mobile.com/aaa bbb &ccc";
		$url_encode = encodeURI($url);
		$qr_url = 'https://chart.googleapis.com/chart?chid=1245567&chs=200x200&cht=qr&chl='+$url_encode;
		$img_str = "<img src='"+$qr_url+"'>";
		$('apk_msg').innerHTML = $img_str;
		
	},false);
}

document.addEventListener('DOMContentLoaded', function () {
	load_init();
});